﻿using EleCho.GoCqHttpSdk.Message;
using EleCho.GoCqHttpSdk.Post;

namespace PluginSdk;

public interface IMessageStream
{
    public Task<CqMessagePostContext> ReadMessage();

    public Task WriteMessage(CqMessage message = default);

    public void Close();
}